<script src="@/js/headerfooter/header.js"></script>


<template>
  <div class="vue">
    <div class="header">
      <div class="log">
        <router-link to="/">
          网站名称
        </router-link>
      </div>
      <div class="nav">
        <span v-for="item in nav" :key="item">
          <router-link :to="item.link">
            <span class="item">
              <Icon :type="item.icon" />
              {{ item.name }}
            </span>
          </router-link>
        </span>
      </div>
    </div>
  </div>
</template>


<style scoped lang="scss" src="@/css/headerfooter/header.scss"></style>
